package com.admin.common.core.domain.vo;

import com.admin.common.core.domain.PageQuery;
import com.admin.common.core.domain.entity.SysRole;
import lombok.Data;

/**
 * 查询对象
 *
 * @author admin
 * @date 2025/6/10 10:14
 */
@Data
public class SysRoleQuery extends SysRole {
    private static final long serialVersionUID = 1L;

    /**
     * ids，按勾选导出时使用
     */
    private Long[] ids;

    /**
     * 是否使用数据权限
     */
    private Boolean dataAuth = Boolean.TRUE;

    /**
     * 分页对象
     */
    private PageQuery page;

    public PageQuery getPage() {
        if (page == null) {
            page = new PageQuery();
        }
        return page;
    }
}
